fbdev: add FBIOCOPYAREA ioctl
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 17 Jun 2013 10:32:11 +0000 (13:32 +0300)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:28:15 +0000 (17:28 +0000)
commit54ed49c374e59d6c1d5d8766e6bd951259e95043
treec60ab44425eefee634984a0d545d22de7a30b58d
parent2c4e881ca84af21b6130d55971bc6da2c7275442
fbdev: add FBIOCOPYAREA ioctl

Based on the patch authored by Ali Gholami Rudi at
    https://lkml.org/lkml/2009/7/13/153

Provide an ioctl for userspace applications, but only if this operation
is hardware accelerated (otherwide it does not make any sense).

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
bcm2708_fb: Add ioctl for reading gpu memory through dma
drivers/video/fbdev/bcm2708_fb.c
drivers/video/fbdev/core/fbmem.c
include/uapi/linux/fb.h